<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<TITLE>
HTML Test Page
</TITLE>
<SCRIPT>
function OnRChart() {

 	myDate=new Date(); 
	newValue1=myDate.getSeconds();
	newValue2=myDate.getMinutes();


	// SET NEW DATA, create random data for 3 of the bars

	document.TestApplet.setParameter("SERIE_DATA_1",newValue1+"|" + newValue2 + "|50|45|30|32|"+newValue1);

}
function resetChart() {
   
   document.TestApplet.rebuild('Y','Y');
}
</SCRIPT>
</HEAD>
<BODY bgcolor="#FFFFFF">
<BR>

<BR>
<APPLET
  CODEBASE = "."
  CODE     = "com.java4less.rchart.web.ChartApplet.class"
  NAME     = "TestApplet"
  ARCHIVE  = "../bin/rchart2.jar"
  WIDTH    = 500
  HEIGHT   = 500
  HSPACE   = 0
  VSPACE   = 0
  ALIGN    = middle
  MAYSCRIPT
>

<PARAM NAME = "TITLECHART" VALUE = "Realtime chart">
<PARAM NAME = "LEGEND" VALUE = "TRUE">
<PARAM NAME = "XLABEL" VALUE = "Sensor">
<PARAM NAME = "YLABEL" VALUE = "Temperature">
<PARAM NAME = "XAXIS_LABELS" VALUE = "A|B|C|D|E|F|G">
<PARAM NAME = "SERIE_1" VALUE = "Temperature">
<PARAM NAME = "SERIE_2" VALUE = "Expected">
<PARAM NAME = "SERIE_TYPE_1" VALUE = "BAR">
<PARAM NAME = "SERIE_TYPE_2" VALUE = "BAR">
<PARAM NAME = "SERIE_STYLE_1" VALUE = "RED">
<PARAM NAME = "SERIE_STYLE_2" VALUE = "BLUE">
<PARAM NAME = "SERIE_FONT_1" VALUE = "Arial|PLAIN|8">
<PARAM NAME = "SERIE_FONT_2" VALUE = "Arial|PLAIN|8">
<PARAM NAME = "SERIE_DATA_1" VALUE = "10|43|50|45|30|32|42">

<PARAM NAME = "SERIE_DATA_2" VALUE = "-10|41|48|39|36|34|50">
<PARAM NAME = "CHART_BORDER" VALUE = "0.2|BLACK|LINE">
<PARAM NAME = "CHART_FILL" VALUE = "0xffcc00">
<PARAM NAME = "BIG_TICK_INTERVALX" VALUE = "1">
<PARAM NAME = "BIG_TICK_INTERVALY" VALUE = "1">
<PARAM NAME = "YSCALE_MIN" VALUE = "-15">
<PARAM NAME = "XSCALE_MIN" VALUE = "0">
<PARAM NAME = "XSCALE_MAX" VALUE = "7">
<PARAM NAME = "YAXIS_AUTO_TICKS" VALUE = "7">
<PARAM NAME = "LEGEND_BORDER" VALUE = "0.2|BLACK|LINE">
<PARAM NAME = "LEGEND_FILL" VALUE = "WHITE">
<PARAM NAME = "SERIE_BORDER_TYPE_1" VALUE = "RAISED">
<PARAM NAME = "SERIE_BORDER_TYPE_2" VALUE = "RAISED">
<PARAM NAME = "BARCHART_BARSPACE" VALUE = "1">

<PARAM NAME = "CHART_JAVASCRIPT_EVENTS" VALUE = "true">
<PARAM NAME = "CHART_REALTIME" VALUE = "true">
<PARAM NAME = "REALTIME_MSECS" VALUE = "2000">

</APPLET>
</BODY>
</HTML>

</APPLET>
</BODY>
</HTML>

